package com.itheima.reggie.service;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.reggie.common.ResultInfo;
import com.itheima.reggie.domain.Dish;
import com.itheima.reggie.domain.Setmeal;

import java.util.List;

//套餐
public interface SetmealService {
//套餐列表
    Page<Setmeal> findList(Integer pageNum, Integer pageSize, String name);

//添加套餐
    void save(Setmeal setmeal);
//批量删除
    void deleteById(List<Long> ids);
//套餐回显
    Setmeal findById(Long id);
//修改套餐
    void update(Setmeal setmeal);

    //批量停售
    void updateStstus(Integer status, List<Long> ids);
//套餐显示
    List<Setmeal> findSetmealList(Long categoryId, Integer status);
//套餐菜品
    List<Dish> findDishList(Long id);
}
